using System;
using FBGraph.Models;

namespace FBGraph.Controllers
{
    /// <summary>The photos this user is tagged in. Requires the user_photos or friend_photos permission</summary>
    public partial class PhotosController : FBGraphController, IFBGraphConnectionController<Photo>
    {
        /// <summary>Initializes an instance of <see cref="PhotosController" />.</summary>
        public PhotosController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="PhotosController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Photo>.ConnectionName
        {
            get
            {
                return "photos";
            }
        }
    }
}